import React, {Component} from 'react'
import {browserHistory} from 'react-router'
import Frame from './frame'
import 'styles/main.scss'

export default class App extends Component {
  constructor(props) {
    super(props)
    this.state = {}
  }
  
  renderFrame() {
    const { props } = this
    return <Frame {...props} />
  }

  render() {
    return (
      <div id='App'>
        {this.renderFrame()}
      </div>
    )
  }
}

App.contextTypes = {
  router: React.PropTypes.object
}
